<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<%
		String msg = (String) session.getAttribute("msg");
		session.setAttribute("msg","");
	%>
	<jsp:include page="top.jsp"></jsp:include>
    <form id="bigBox" method="POST" action="/express/servlet/Creditex?modth=add" name="add" onsubmit="return check()">
        <h1>添加积分券类型</h1>
        <font color="red">
            <span id="message">
                <%if(msg==null){msg="";} %>
                    <%=msg %>
            </span>
        </font>
        <!-- 添加积分券类型容器 -->
        <div class="inputBox">
            <!-- 积分券名称 -->
            <div class="inputText">
                <span>
                    <i class="iconfont icon-user"></i>
                    名称:
                </span>
                <input type="text" id="creditname" name="creditname" placeholder="creditname">
            </div>
            <!-- 积分券详情 -->
            <div class="inputText">
                <span>
                    <i class="iconfont icon-xiangqing"></i>
                    介绍:
                </span>
                <textarea id="introduce" name="introduce" placeholder="Introduction"></textarea>
            </div>
            <!-- 积分券对应价值 -->
            <div class="inputText">
                <span>
                    <i class="iconfont icon-xiangqing"></i>
                   价格:
                </span>
                <textarea id="introduce" name="price" ></textarea>
            </div>
            <!-- 兑换所需积分 -->
            <div class="inputText">
                <span>
                    <i class="iconfont icon-jifen"></i>
                    积分:
                </span>
                <input type="text" id="credit" name="credit" placeholder=credit">
            </div>
            <!-- 上架数量 -->
            <div class="inputText">
                <span>
                    <i class="iconfont icon-type"></i>
                    数量:
                </span>
                <input type="text" id="quantity" name="quantity" placeholder="quantity">
            </div>
            <!-- 添加按钮 -->
            <input type="submit" class="inputButton" value="添加">
            <!-- 返回按钮 -->
            <a href="admin/creditex.jsp">
                <input type="button" class="inputButton" value="返回">
            </a>
        </div>
    </form>
</body>

</html>